package cn.xm.system.mapper;

import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xm
 * @since 2022-10-26
 */
public interface RolePermissionMapper{


    void add(@Param("rid") Long rid,@Param("permissons") List<Long> permissions);

    void deleByRoleId(Long rid);
}
